
//
// R.E.8
//

[performance]
    MaxSpeed           = 165 // H=0, , ,  
    MaxClimbRate       = 3.2 // H=0, ,   ,  
    MaxClimbCAS        = 105 // H=0, ,   ,  
    ServiceCeiling     = 4200.0 //  ,        ,  ,  Vy=0.5 /
    MaxAltitude        = 4500.0 //     ,  
    MinStructureHealth = 0.962
    MinEngineHealth    = 0.6
    EngineWarming      = true
    TurnRate           = 170.0, 45.0
    CruiseFuelRate     = 0.957 //[/], , =1000, TS=167/, EAS=160/,  50%,  
    PriorityType       = 3 //FIGHTER=1,HEAVY_FIGHTER=2,LIGHT_BOMBER=3,BOMBER=4,LIGHT_RECON=5,RECON=6,SHTURMOVIK=7,CARGO=8

    ////// ClimbTime = <float ALTITUDE>, <float TIME>
    ClimbTime =    0,    0
    ClimbTime = 1000,  230
    ClimbTime = 2000,  475
    ClimbTime = 3000,  771
    ClimbTime = 4000, 1159
    ClimbTime = 5000, 1718

    ////// MaxAltTAS = <float ALTITUDE>, <float TAS>
    MaxAltTAS =    0,168.0
    MaxAltTAS = 1000,168.0
    MaxAltTAS = 2000,168.0
    MaxAltTAS = 3000,167.0
    MaxAltTAS = 4000,164.0

    ////// turn time at altitude (m/s) = <float ALTITUDE>, <float TIME>
    TurnTimeAlt = 0,11.5
    TurnTimeAlt = 10000,11.5

    ////// optimal turn CAS at altitude= <float ALTITUDE>, <float CAS>
    TurnOptimal_CAS_Alt = 0,105
    TurnOptimal_CAS_Alt = 10000,105
[end]

[cruise]
    RefAngle               = 90.0
    RefRoll                = 35.0
    MaxRoll                = 30.0
    MaxRollClimb           = 10.0
    RefRollFactor          = 0.5
    RefAltError            = 50.0
    RefClimb               = 4.0
    RefClimbFactor         = 1.5
    RefDive                = 10.0
    RefDiveFactor          = 1.5
    TurnOffError           = -5
    TurnOnError            = -2
    MinRPM                 = 550
    MinCruiseCAS           = 120.0
    MinWingmanCAS          = 100.0
    WingLeaderLagCorrectionK = 1.0		//   0.0  1.0(default),        
    PursueWingmanDist      = 100.0		//             
    WingLeaderThrottleLowLimit = 0.5	//        
    WingLeaderThrottleUpLimit  = 0.95	//         
    LandRoundCAS0          = 150		//     ,   2 ,  2  3 
    LandRoundCAS1          = 130		//     4 
    LandRoundCAS2          = 120		//        
    LandingApproachCAS     = 115.0
    LandingTouchDownCAS    = 110.0
    TouchDownDistance      = 100.0	//         
    TouchDownPitch         = 10.0
    LandingApproachCAS_NoFuel  = 100.0
    LandingTouchDownCAS_NoFuel = 95.0
    TouchDownDistance_NoFuel   = 100.0
    TouchDownPitch_NoFuel      = 20.0
    StartTurnBeforeGlissadeDistance = 180.0
    TouchDownPitchUpSpeed  = 50.0	//               
    TouchDownAlignHeight   = 5.0	//   
    SmoothTouchDownHeight  = 1.0	//   " ()"
    LandingThrottleLimit   = false
    BrakePitchMax          = 12.0	//      
    BrakePitchMin          = 10.0	//        BrakeLimMin
    BrakeLimMin            = 0.1	//       BrakePitchMin (  )
    ApproachLowering       = false
    ApproachIgnition       = false
    LandingRoundIgnition   = false
    TouchDownCYRFactor     = 0.0
    RestrictAttackAngle    = true
    MinAttackAngle         = 12.0
    MaxAttackAngle         = 14.0
    MinNegativeAttackAngle =  -8.0
    MaxNegativeAttackAngle = -10.0
    MinSlipAngle           = 15.0
    MaxSlipAngle           = 20.0
    TaxiD1                 = 5.0
    TaxiD2                 = 10.0
    TaxiD3                 = 50.0
    TaxiD4                 = 300.0
    TaxiSpeedD1            = 15.0	//      D1,  D2  
    TaxiSpeedD2D3          = 20.0	//      D2  D3,  D2  
    TaxiSpeedD4            = 35.0	//      D4
    TaxiMaxAngle           = 80.0	//      ,       TaxiSpeedD1
    TaxiMaxAside           = 40.0	//      ,       TaxiSpeedD1
    TaxiBrakingThrottleUp  = 0.5	//           TaxiSpeedD1
    TaxiingPitch           = false	//          ,          .   -  .
    TaxiingPIDSpeed        = 5.0	//   PID  [pid_taxiing]  [pid_0]  ,       0,75*TaxiingPIDSpeed   = TakeOffCAS+10
    Switch_2_TaxiingPIDSpeed = 80.0	//   PID  [pid_0]  [pid_taxiing]  .   = LandingTouchDownCAS - 20.0
    TakeOffCAS             = 110.0	//   ,         .
    TakeoffPitch           = 12.0	//        
    TakeoffElevatorSafe    = true
    TakeoffSafePitch       = 0.0
    TakeoffSurfaceSlope    = false
    TakeoffCriticalSlope   = 0.0
    CriticalTakeoffRoll    = 10
    TakeoffYawFactor       = 0
    TakeOffBrakingMax      = 1.0	//          TakeOffBrakingAngle (  pid_taxiing)
    TakeOffBrakingAngle    = 10.0	//     ,      TakeOffBrakingMax
    StallRollRate          = 160.0
    StallYawRate           = 60.0
    StructureAlert         = true
    StructureAlertNy       = 4
    StructureAlertTAS      = 350.0
    AttackIgnitionControl  = false
    TakeoffRefAngle        = 15.0
    MaxFlapsCAS            = 160.0
    MinFlapsCAS            = 180.0
    TakeOFFFlapsAngle      = 0     // 0..1    
    LandingFlapsAngle      = 0     // 0..1     
    FlapsPosQuantity       = 0
    DifferentialBrakes     = false  // "true",    (), "false" -  ()
    OpenCocpitWhileTaxi    = true   //  true -      
    NeedFilter             = false	//     
    MinStickMoveTime       = 0.0	//            
    MaxStickMoveTime       = 0.2	//            
    MinStickMoveCAS        = 400.0	//      m_MinStickMoveTime
    MaxStickMoveCAS        = 500.0	//      m_MaxStickMoveTime
    CruiseThrottleLimit    = 1.0	//   -    , 0..1 ,   - 1
    taxiWindLimit          = 7.5	//  (/)                ( - 15.0 /)
[end]

[dogfight]
    [novice]
        RefNoseAngle      = 30.0
        MinCAS1           = 90.0
        MaxCAS2           = 150.0	//TurnOptimal_CAS_Alt + 20
        MaxPitchRate      = 120.0
        AttackDistance    = 600.0
        EngageDistance    = 900.0
        MinFireDistance   = 35.0
        MaxFireDistance   = 400.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3
        MinStopFireAngle  = 30.0
        MaxStopFireAngle  = 5
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -60.0
        HBTPositiveBTRoll      = 60.0
        InterceptAltitudeAdvance = 0.0
    [end]
    [normal]
        RefNoseAngle      = 30.0
        MinCAS1           = 70.0
        MaxCAS2           = 140.0	//TurnOptimal_CAS_Alt + 10
        AttackDistance    = 800.0
        EngageDistance    = 1100.0
        MinFireDistance   = 30.0
        MaxFireDistance   = 375.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3
        MinStopFireAngle  = 35.0
        MaxStopFireAngle  = 7
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -70.0
        HBTPositiveBTRoll      = 70.0
        InterceptAltitudeAdvance = 0.0
    [end]
    [high]
        RefNoseAngle      = 30.0
        MinCAS1           = 50.0
        MaxCAS2           = 130.0	//TurnOptimal_CAS_Alt
        MaxPitchRate      = 160.0
        AttackDistance    = 1000.0
        EngageDistance    = 1400.0
        MinFireDistance   = 25.0
        MaxFireDistance   = 350.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3
        MinStopFireAngle  = 40
        MaxStopFireAngle  = 9
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -75.0
        HBTPositiveBTRoll      = 75.0
        InterceptAltitudeAdvance = 150.0
    [end]
    [ace]
        RefNoseAngle      = 30.0
        MinCAS1           = 30.0
        MaxCAS2           = 120.0	//TurnOptimal_CAS_Alt - 10
        MaxPitchRate      = 180.0
        AttackDistance    = 1200.0
        EngageDistance    = 1700.0
        MinFireDistance   = 20.0
        MaxFireDistance   = 300.0
        MinOpenFireAngle  = 20
        MaxOpenFireAngle  = 3
        MinStopFireAngle  = 50
        MaxStopFireAngle  = 11
        CollisionTimeTreshold  = 2.5
        HBTNegativeRoll        = -80.0
        HBTPositiveBTRoll      = 80.0
        InterceptAltitudeAdvance = 300.0
    [end]

    MinSafeAltitude0  = 50.0
    MaxSafeAltitude0  = 100.0
    MinSafeAltitude45 = 80.0
    MaxSafeAltitude45 = 150.0
    MinSafeAltitudeVP = 300.0
    MaxSafeAltitudeVP = 600.0

    CASPitchLimit  = false
    MinPitchCAS    = 290.0
    MaxPitchCAS    = 330.0
    STVOffset      = -1.5 // -5.5
    YawAimingAngle = 7.0

    AirTargetToLeaderCriticalDistance = 4000,6000

    DiveCAS   = 300.0
    CruiseCAS = 180.0
    ClimbCAS  = 130.0

    RestrictPitchBySSA = true
    MinPitchSSA = 10.0
    MaxPitchSSA = 15.0

    GunAirAimSmooth = 0.4    //       (  ). [0..1], 0 - , 1 - , -1 - 
[end]

[approach]
    GroundTargetToLeaderCriticalDistance = 4000,6000
    VFAngle              = 0.0
    ApproachCAS          = 165.0
    ApproachRadius       = 250.0
    ApproachDistance     = 2000.0
    ApproachAltitude     = 150.0
    GroundAttackExitAltitude = 70.0	//           (   ,   +40)
    GroundAttackDistance = 200.0
    GroundEngageDistance = 1200.0
    GroundEngageRocketK  = 1.0		// -    m_GroundEngageDistance   
    SpiralAttackApproach = true
    DiveBombAltitude     = 2500.0	//     ,         -      
    DiveBombExitAltitude = 650.0	//      
    DeepDiveWeaponSet    = -1		//  payloads     , -1  ,  15   
    ShallowDiveWeaponSet = 0,1	//  payloads     , -1  ,  15   
    OwerWingDive         = false	//     , true -   , false -    
    DiveSoftness         = 1.5		// ""       -     ,   ,    -       (  7.5)
    PushDiveEntranceDistance = 1500.0	//  ()         "  ",   ,         ,  ,    - 
    PushDiveEntranceK    = 7.5		// .     "  ",  -   ,  , (. - PushDiveEntranceDistance)*PushDiveEntranceK =    (  1.0)
    ShallowDiveAngle     = 10.0		//    , < 41  -     (  ) >41 -  (  50.0)
    ShallowExitAltitude  = 70.0		//       (   ,   +40)
    ShallowDiveEnterKoef = 1.5		//          , >1 -    , < 1 - ,   .  
    Salvo2WeaponSet      = 4,5	//  payloads,     / /  2 , -1  ,  15   
    Salvo4WeaponSet      = 2,3		//  payloads,     / /  4 , -1  ,  15   
    SalvoAllWeaponSet    = -1		//  payloads,     / /  , -1  ,  15   
    GunAimSmooth         = 0.5  //       .  <1 ,  >1 .  =1.8
    AimDamperCompensationTime = 1.5 //   ,    .
[end]

[adapt_pid_0]
    CAS     = 100.0
    Roll    = 30.0,   0.0,  5.5, 0.05
    Pitch   = 80.0,   0.0, 13.0, 0.05
    PitchVy = 50.0,   0.0,  9.0, 0.05
    Yaw     = 40.0,   0.0,  8.0, 0.02
    Speed   =100.0,  80.0, 15.0, 0.4
[end]
[adapt_pid_1]
    CAS     = 200.0
    Roll    = 25.0,   0.0,  0.5, 0.05
    Pitch   = 20.0,   0.0,  6.0, 0.05
    PitchVy = 10.0,   0.0,  2.0, 0.05
    Yaw     = 40.0,   0.0,  8.0, 0.02
    Speed   =100.0,  80.0, 15.0, 0.4
[end]
[pid_taxiing]
    Roll    = 20.0,  0.0,  0.0, 0.05
    Pitch   = 13.0,  0.0,  0.0, 0.05
    Yaw     =  5.0,  5.0,  0.0, 0.06
    Speed   = 90.0, 60.0,  0.3, 0.4
    WheelBrakes = 1.5, 0.0, 0.0
[end]
